<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>reg form</title>
</head>
<body>
<?php 
	echo form_open('user/register');
	echo '邮箱:'.form_input('mail').'<br/>';
	echo '密码:'.form_password('password').'<br/>';
	echo '确认密码:'.form_password('password2').'<br/>';
	echo form_submit('register', '注册');
	echo ' ';
	echo anchor('', '返回');
	echo form_close();
?>
</body>
</html>